<?php

hc_core_ClassLoader::load('halo_IHandlerAdapter');
hc_core_ClassLoader::load('halo_IController');

class halo_ControllerHandlerAdapter implements halo_IHandlerAdapter {

    public function supports($object) {
        return $object instanceof halo_IController;
    }
    public function handle(halo_HttpRequest $httpRequest, halo_HttpResponse $httpResponse, $handler) {
        return $handler->handleRequest($httpRequest, $httpResponse);
    }

}

?>
